package ssm.dao;

import java.util.List;

import ssm.entity.Student;

public interface StudentMapper {
    int deleteStudent(Integer sId);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer sId);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
    
    Student getStudentByName(Student record);
    
    Student getStudent(Student record);
    
    List<Student> getAllStudent();
    
    List<Student> getStudentByPageNumber(Student record);
    
    List<Student> getStudentsByClassId(Integer classsId);
    
    List<Student> getStudentsByDepartmentId(Integer dId);
    
    int updateStudentSelective(Student record);
    
    int resetStudentPassword(Integer sId);
}